package com.chinags.system.report.domain;

import com.chinags.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.chinags.common.core.domain.BaseEntity;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 防雷重点单位表 t_jc_flzddw
 * 
 * @author shichenxing
 * @date 2019-06-24
 */
public class TJcFlzddw extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 业务id */
	private Long thunderUnitId;
	/** 社会统一信用代码 */
	@Excel(name = "社会统一信用代码")
	private Long creditCode;
	/** 单位名称 */
	@Excel(name = "单位名称")
	private String unitName;
	/** 所属行政区 */
	@Excel(name = "所属区域")
	private String administrativeRegion;
	/** 省份 */
	private String province;
	/** 城市 */
	private String city;
	/** 县 */
	private String county;
	/** 单位地址 */
	@Excel(name = "单位地址")
	private String unitAddress;
	/** 邮政编码 */
	@Excel(name = "邮政编码")
	private String emailCode;
	/** 经度 */
	private BigDecimal longitude;
	/** 纬度 */
	private BigDecimal latitude;
	/** 行业属性 */
	@Excel(name = "行业属性")
	private Integer tradeProperty;
	/** 防雷类别 */
	@Excel(name = "防雷类别")
	private Integer thunderCategory;
	/** 检测周期 */
	@Excel(name = "检测周期")
	private Integer searchCycle;
	/** 联系人 */
	@Excel(name = "联系人")
	private String contacts;
	/** 联系电话 */
	@Excel(name = "联系电话")
	private String contactsPhone;
	/** 安全负责人 */
	private String securityPeople;
	/** 安全负责人联系电话 */
	private String securityPeoplePhone;
	@JsonFormat(pattern = "yyyy-MM-dd")
	/** 成立日期 */
	private Date foundDate;
	/** 经营状态(0 正常 1注销) */
	private Integer manageStaus;
	/** 数据来源 */
	private Integer dataSource;
	/** 创建人 */
	private String createUser;
	/** 修改人 */
	private String updateUser;
	/**  */
	private Integer record;
	/** 单位所属地区id */
	private Long createId;
	/**检测日期*/
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date detectionDate;
	/**检测年度*/
	@JsonFormat(pattern = "yyyy")
	private Date  detectionYear;
	/**检测有效期*/
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date detectionDateEnd;
	/**j检测机构名称*/
	private String detectionName;
	/**检测装态*/
	private  Integer reportSatus;
	/**检测日期开始时间*/
	@JsonFormat(pattern = "yyyy-MM-dd")
	private  Date startTime;
	/**检测结束时间*/
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date endTime;
	/**检测有效期开始时间*/
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date vaildStartTime;
	/**检测有效期结束时间*/
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date vaildEndTime;
	/**是否有违规记录*/
	private String violation;



	public void setThunderUnitId(Long thunderUnitId) 
	{
		this.thunderUnitId = thunderUnitId;
	}

	public Long getThunderUnitId() 
	{
		return thunderUnitId;
	}
	public void setCreditCode(Long creditCode) 
	{
		this.creditCode = creditCode;
	}

	public Long getCreditCode() 
	{
		return creditCode;
	}
	public void setUnitName(String unitName) 
	{
		this.unitName = unitName;
	}

	public String getUnitName() 
	{
		return unitName;
	}
	public void setAdministrativeRegion(String administrativeRegion) 
	{
		this.administrativeRegion = administrativeRegion;
	}

	public String getAdministrativeRegion() 
	{
		return administrativeRegion;
	}
	public void setProvince(String province) 
	{
		this.province = province;
	}

	public String getProvince() 
	{
		return province;
	}
	public void setCity(String city) 
	{
		this.city = city;
	}

	public String getCity() 
	{
		return city;
	}
	public void setCounty(String county) 
	{
		this.county = county;
	}

	public String getCounty() 
	{
		return county;
	}
	public void setUnitAddress(String unitAddress) 
	{
		this.unitAddress = unitAddress;
	}

	public String getUnitAddress() 
	{
		return unitAddress;
	}
	public void setEmailCode(String emailCode) 
	{
		this.emailCode = emailCode;
	}

	public String getEmailCode() 
	{
		return emailCode;
	}
	public void setLongitude(BigDecimal longitude) 
	{
		this.longitude = longitude;
	}

	public BigDecimal getLongitude() 
	{
		return longitude;
	}
	public void setLatitude(BigDecimal latitude) 
	{
		this.latitude = latitude;
	}

	public BigDecimal getLatitude() 
	{
		return latitude;
	}
	public void setTradeProperty(Integer tradeProperty) 
	{
		this.tradeProperty = tradeProperty;
	}

	public Integer getTradeProperty() 
	{
		return tradeProperty;
	}
	public void setThunderCategory(Integer thunderCategory) 
	{
		this.thunderCategory = thunderCategory;
	}

	public Integer getThunderCategory() 
	{
		return thunderCategory;
	}
	public void setSearchCycle(Integer searchCycle) 
	{
		this.searchCycle = searchCycle;
	}

	public Integer getSearchCycle() 
	{
		return searchCycle;
	}
	public void setContacts(String contacts) 
	{
		this.contacts = contacts;
	}

	public String getContacts() 
	{
		return contacts;
	}
	public void setContactsPhone(String contactsPhone) 
	{
		this.contactsPhone = contactsPhone;
	}

	public String getContactsPhone() 
	{
		return contactsPhone;
	}
	public void setSecurityPeople(String securityPeople) 
	{
		this.securityPeople = securityPeople;
	}

	public String getSecurityPeople() 
	{
		return securityPeople;
	}
	public void setSecurityPeoplePhone(String securityPeoplePhone) 
	{
		this.securityPeoplePhone = securityPeoplePhone;
	}

	public String getSecurityPeoplePhone() 
	{
		return securityPeoplePhone;
	}
	public void setFoundDate(Date foundDate) 
	{
		this.foundDate = foundDate;
	}

	public Date getFoundDate() 
	{
		return foundDate;
	}
	public void setManageStaus(Integer manageStaus) 
	{
		this.manageStaus = manageStaus;
	}

	public Integer getManageStaus() 
	{
		return manageStaus;
	}
	public void setDataSource(Integer dataSource) 
	{
		this.dataSource = dataSource;
	}

	public Integer getDataSource() 
	{
		return dataSource;
	}
	public void setCreateUser(String createUser) 
	{
		this.createUser = createUser;
	}

	public String getCreateUser() 
	{
		return createUser;
	}
	public void setUpdateUser(String updateUser) 
	{
		this.updateUser = updateUser;
	}

	public String getUpdateUser() 
	{
		return updateUser;
	}
	public void setRecord(Integer record) 
	{
		this.record = record;
	}

	public Integer getRecord() 
	{
		return record;
	}
	public void setCreateId(Long createId) 
	{
		this.createId = createId;
	}

	public Long getCreateId() 
	{
		return createId;
	}

	public Date getDetectionDate() {
		return detectionDate;
	}

	public void setDetectionDate(Date detectionDate) {
		this.detectionDate = detectionDate;
	}

	public Date getDetectionYear() {
		return detectionYear;
	}

	public void setDetectionYear(Date detectionYear) {
		this.detectionYear = detectionYear;
	}

	public Date getDetectionDateEnd() {
		return detectionDateEnd;
	}

	public void setDetectionDateEnd(Date detectionDateEnd) {
		this.detectionDateEnd = detectionDateEnd;
	}

    public String getDetectionName() {
        return detectionName;
    }

    public void setDetectionName(String detectionName) {
        this.detectionName = detectionName;
    }

	public Integer getReportSatus() {
		return reportSatus;
	}

	public void setReportSatus(Integer reportSatus) {
		this.reportSatus = reportSatus;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getVaildStartTime() {
		return vaildStartTime;
	}

	public void setVaildStartTime(Date vaildStartTime) {
		this.vaildStartTime = vaildStartTime;
	}

	public Date getVaildEndTime() {
		return vaildEndTime;
	}

	public void setVaildEndTime(Date vaildEndTime) {
		this.vaildEndTime = vaildEndTime;
	}

	public String getViolation() {
		return violation;
	}

	public void setViolation(String violation) {
		this.violation = violation;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("thunderUnitId", getThunderUnitId())
            .append("creditCode", getCreditCode())
            .append("unitName", getUnitName())
            .append("administrativeRegion", getAdministrativeRegion())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("unitAddress", getUnitAddress())
            .append("emailCode", getEmailCode())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("tradeProperty", getTradeProperty())
            .append("thunderCategory", getThunderCategory())
            .append("searchCycle", getSearchCycle())
            .append("contacts", getContacts())
            .append("contactsPhone", getContactsPhone())
            .append("securityPeople", getSecurityPeople())
            .append("securityPeoplePhone", getSecurityPeoplePhone())
            .append("foundDate", getFoundDate())
            .append("manageStaus", getManageStaus())
            .append("dataSource", getDataSource())
            .append("remark", getRemark())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("record", getRecord())
            .append("createId", getCreateId())
			.append("detectionYear", getDetectionYear())
			.append("detectionDate", getDetectionDate())
			.append("detectionDateEnd", getDetectionDateEnd())
            .append("detectionName", getDetectionName())
			.append("reportSatus", getReportSatus())
			.append("startTime",getStartTime())
			.append("endTime",getEndTime())
			.append("vaildEndTime",getVaildStartTime())
			.append("vaildStartTime",getVaildStartTime())
			.append("violation",getViolation())
            .toString();
    }

}
